
public class Tax extends Block{
	private String name;
	private int cost;
	private String taxImage;
	
	
	public Tax(String nme, int cst, int blkNum, String taxImage){
		this.name = nme;
		this.cost = cst;
		super.setBlockNumber(blkNum);
		this.taxImage = taxImage;
	}
	//getters
	public String getName(){
		return name;
	}
	
	public int getCost(){
		return cost;
	}
	
	public String getTaxImage() {
		return taxImage;
	}
	//setters
	public void setName(String name) {
		this.name = name;
	}

	public void setCost(int cost) {
		this.cost = cost;
	}

	public void setTaxImage(String taxImage) {
		this.taxImage = taxImage;
	}

}
